package com.das.mechanic_base.bean.main;

import com.das.mechanic_base.bean.record.RecordKeyBean;
import com.das.mechanic_base.gen.RecordKeyBeanConverter;

import org.greenrobot.greendao.annotation.Convert;
import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

import java.util.List;

@Entity
public class MineRecordBean {

    @Id(autoincrement = true)
    private Long id;

    /**
     * 唯一标识 通过接车单id 来标明
     */
    private long receiveBaseId;

    /**
     * 需要上传的资源
     */
    @Convert(converter = RecordKeyBeanConverter.class, columnType = String.class)
    private List<RecordKeyBean> mList;

    public List<RecordKeyBean> getMList() {
        return this.mList;
    }

    public void setMList(List<RecordKeyBean> mList) {
        this.mList = mList;
    }

    public long getReceiveBaseId() {
        return this.receiveBaseId;
    }

    public void setReceiveBaseId(long receiveBaseId) {
        this.receiveBaseId = receiveBaseId;
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Generated(hash = 1470642672)
    public MineRecordBean(Long id, long receiveBaseId, List<RecordKeyBean> mList) {
        this.id = id;
        this.receiveBaseId = receiveBaseId;
        this.mList = mList;
    }

    @Generated(hash = 2131422841)
    public MineRecordBean() {
    }

     

}
